package com.evil.common.account.dto.user;

import com.evil.common.account.dto.user.department.UserDepartmentReqDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AddUserReqDTO extends UserBaseReqDTO {

    private Long enterpriseId;

    /**
     * 头像文件CODE
     */
    private String fileCode;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 角色IDS
     */
    private List<Long> roleIds;

    /**
     * 角色IDS
     */
    private List<UserDepartmentReqDTO> departments;
}
